package licode.unisop.types.dp;

import org.springframework.util.Assert;

public class SsoTicket {

    private final String ticket;

    public SsoTicket(String ticket) {
        Assert.isTrue(ticket != null, "单点登录票据错误：" + ticket);
        this.ticket = ticket;
    }

    public String getTicket() {
        return ticket;
    }

    @Override
    public String toString() {
        return ticket;
    }
}
